<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WIKINDX CLASS DOCUMENTATION</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  
  splitTitle()
</p>
<p><strong>Class:</strong><br />
  <a href="importcommonClass.html">IMPORTCOMMON</a>
<p><strong>Method Call:</strong><br />
  include_once("core/file/import/IMPORTCOMMON.php");<br />
  $common = new IMPORTCOMMON($this-&gt;db);  <br />
ARRAY $common->splitTitle(STRING: $title);
</p>
<p><strong>Description:</strong><br /> 
  A WIKINDX title is stored in three database fields: <em>title</em>, <em>subtitle</em> and <em>noSort</em>. This method will split an input title into component parts assuming the subtitle is distinguished from the title by the first ':' found in the string. </p>
<p></p>
<strong>Usage:</strong><br />
  
Example:<br />
<pre>
	include_once("core/file/import/IMPORTCOMMON.php");
	$common = new IMPORTCOMMON($this->db);
	list($noSort, $title, $subtitle) = $common->splitTitle(&quot;The Meaning of Life: A Full Explanation in Twenty Words);
</pre> 

<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>

</html>
